package cn.zyjw.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "身份认证表单参数")
public class IdCardForm extends GeetestForm {

    @NotBlank
    @ApiModelProperty("证件号码")
    private String idCard;

    @NotNull
    @ApiModelProperty("用户的证件类型")
    private Integer idCardType;

    @NotBlank
    @ApiModelProperty("用户真实姓名")
    private String realName;
}
